import Vue from 'vue'
import Router from 'vue-router'
import message from '@/components/mymessage'
import musiclist from '@/components/index'
import wodeyinyue from '@/components/mymusic'
import musicer from '@/components/geshou'
import level from '@/components/level'
import vip from '@/components/vip'
import xiangqing from '@/components/xiangqing'
import xindie from '@/components/xindie'
import musicinfo from '@/components/musicinfo'
import login from '@/components/login'
import smregist from '@/components/smregist'
import show from '@/components/show'
import ranklist from '@/components/ranklist'
import setting from '@/components/setting'
import musicrank from '@/components/musicrank'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/message',
      name: 'HelloWorld',
      component: message
    },{
      path:'/musiclist',
      name:'index',
      component:musiclist
    },{
    path:'/mymusic',
      name:'mymusic',
      component:wodeyinyue
    },{
      path:'/musicer',
      name:'musicer',
      component:musicer
    },{
      path:'/level',
      name:'level',
      component:level
    },{
      path:'/vip',
      name:'vip',
      component:vip
    },{
      path:'/xiangqing',
      name:'xiangqing',
      component:xiangqing
    },{
      path:'/xindie',
      name:'xindie',
      component:xindie
    },{
      path:'/musicinfo',
      name:'musicinfo',
      component:musicinfo
    },
    {
      path:'/smregist',
      name:'smregist',
      component:smregist
    },{
      path:'/login',
      name:'login',
      component:login
    },{
      path:'/',
      name:'show',
      component:show
    },{
      path:'/ranklist',
      name:'ranklist',
      component:ranklist
    }
    ,{
      path:'/setting',
      name:'setting',
      component:setting
    } ,{
      path:'/rank',
      name:'musicrank',
      component:musicrank
    }
  ]
})
